package com.cmc6.user.model.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class UserLoginWxRegByWxOpenidDTO {

    @NotBlank
    @ApiModelProperty(value = "微信的 openid")
    private String openid;

    @NotBlank
    @ApiModelProperty(value = "微信的 手机号，备注：只有注册时，才传值")
    private String phone;

}
